﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PrintDemo.Entity;
using PrintDemo.DAL;

namespace PrintDemo.BLL
{
    public class BoxNumBLL
    {
        private readonly BoxNumDAL _dal = new BoxNumDAL();

        public bool Insert(BoxNumEntity model)
        {
            bool res = false;
            int? result = _dal.Insert(model);
            if (result != null)
                res = (int)result > 0;
            return res;
        }
    }
}
